package com.gang.plugins.myplugin;

import com.gang.core.pluginMgr.Plugin;
import com.gang.plugins.myplugin.service.CommonServiceI;
import com.gang.plugins.myplugin.service.MyServiceI;
import com.gang.plugins.myplugin.service.impl.CommonServiceImpl;
import com.gang.plugins.myplugin.service.impl.MyServieImpl;
import com.google.inject.Binder;
import com.google.inject.Inject;



public class PluginAdapter extends Plugin{
	@Inject
	MyServiceI ms;
	@Override
	public void doSome() {
		System.out.println("go");
		ms.doit();
	}

	@Override
	public void configure(Binder binder) {
		binder.bind(MyServiceI.class).to(MyServieImpl.class);
		binder.bind(CommonServiceI.class).to(CommonServiceImpl.class);
	}
	
}
